package com.knife.file.domain.service.impl.minio;

import com.knife.file.domain.service.KnifeFileService;
import com.knife.file.domain.service.KnifeStoreCreator;
import org.springframework.stereotype.Component;

/**
 * 注册minio文件上传工具
 *
 * @author： 76875
 * @date： 2022/4/6 星期三 18:58
 * @description：
 * @modifiedBy：
 * @version: 1.0
 */
@Component
public class KnifeMinioStoreCreator implements KnifeStoreCreator {

    @Override
    public Integer storeType() {
        return 3;
    }

    @Override
    public KnifeFileService getFileService() {
        return new KnifeMinioFileServiceImpl();
    }
}
